@layout("/common/_container.html"){
<div class="row">
    <div class="col-sm-12">
        <div class="ibox float-e-margins">
            <div class="ibox-title">
                <h5>管理</h5>
            </div>
            <div class="ibox-content">
                <div class="row row-lg">
                    <div class="col-sm-12">
                        <div class="row">
                            <div class="col-sm-3">
                                 <#clmInput id="accountId" name="教师ID" />
                            </div>
                            <div class="col-sm-3">
                                 <#clmInput id="teacherName" name="教师名称" />
                            </div>
                            
                        </div>
                        
                        <div class="row">
                            <div class="col-sm-2">
                               <#clmSelect id="orgProvinceCode" name="教师就职省" >
	                               <option value=""></option>
	                               @for(item in provinceList){
				                        <option value="${item.provinceCode}">${item.provinceName}</option>
				                    @}
								</#clmSelect>
                            </div>
                            <div class="col-sm-2">
                               <#clmSelect id="orgCityCode" name="教师就职市" >
                               		<option value=""></option>
	                              
								</#clmSelect>
                            </div>
                            <div class="col-sm-2">
                               <#clmSelect id="orgAreaCode" name="教师就职区/县" >
                               		<option value=""></option>
								
								</#clmSelect>
                            </div>
                            <div class="col-sm-2">
                               <#clmSelect id="schoolId" name="教师就职学校" >
                               		<option value=""></option>
									
								</#clmSelect>
                            </div>
                            
                            <div class="col-sm-4">
                            	<div class="form-group">
                            	   <label class="col-sm-12 control-label"> &nbsp;</label>
	                                <#button name="搜索" icon="fa-search" clickFun="Teacher.search()"/>
	                                <#button name="重置" icon="fa-trash" clickFun="Teacher.resetSearch()" space="true"/>
                            	</div>
                            </div>
                        </div>
                        
                        <div class="hidden-xs" id="TeacherTableToolbar" role="group">
                            @if(shiro.hasPermission("/teacher/add")){
                                <#button name="添加" icon="fa-plus" clickFun="Teacher.openAddTeacher()"/>
                            @}
                            @if(shiro.hasPermission("/teacher/update")){
                                <#button name="修改" icon="fa-edit" clickFun="Teacher.openTeacherDetail()" space="true"/>
                            @}
                            @if(shiro.hasPermission("/teacher/delete")){
                                <#button name="删除" icon="fa-remove" clickFun="Teacher.delete()" space="true"/>
                            @}
                             @if(shiro.hasPermission("/teacher/update")){
                                <#button name="上下架" icon="fa-edit" clickFun="Teacher.downOrUp()" space="true"/>
                            @}
                             @if(shiro.hasPermission("/teacher/update")){
                                <#button name="置顶" icon="fa-edit" clickFun="Teacher.topOrNo()" space="true"/>
                            @}
                        </div>
                        <#table id="TeacherTable"/>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="${ctxPath}/static/modular/clm/teacher/teacher.js"></script>
@}
